home *** CD-ROM | disk | FTP | other *** search
/ Spawn Figure Collection / spawn collection cd.iso / setup / data1.cab / Program_Executable_Files / Collection.dir / 00012_Group Script.ls < prev    next >
Encoding:
Text File  |  1998-01-19  |  534 b   |  28 lines

  1. property pprotect, pgroup, pcheckbox, pcheck, pbitmap, pcomment
  2.  
  3. on birth me
  4.   set pflag to EMPTY
  5.   set pbitmap to EMPTY
  6.   set pcomment to EMPTY
  7.   return me
  8. end
  9.  
  10. on setgroup me, flag, bitmap, comment
  11.   set pprotect to char 1 of flag
  12.   set pgroup to char 2 of flag
  13.   set pcheckbox to char 3 of flag
  14.   set pcheck to char 4 of flag
  15.   set pbitmap to bitmap
  16.   set pcomment to comment
  17. end
  18.  
  19. on togglecheck me
  20.   if pcheckbox = "1" then
  21.     if pcheck = "1" then
  22.       set pcheck to "0"
  23.     else
  24.       set pcheck to "1"
  25.     end if
  26.   end if
  27. end
  28.